-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[Backport] Fix #10747: Raise type error on unreducible match type #13519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Don't consider types to be fullyInstanciated when containing a TypeParamRef.
The previous check was too conservative, is we have a proof that A and B are disjoint, then A and B in Inv[A] and Inv[B] are clearly different types, and Inv[A] and Inv[B] are disjoint. Also the isSameType() && fullyInstantiated check is quite primitive, it can still be useful in some cases.
Scaladoc test failed:
@pikinier20 @BarkingBad @KacperFKorban does anyone know why? |
This error happens because You can take a look at it here: dotty-staging#19 |
Is it merged in |
I see that my commit wasn't merged to any branch but the problem is resolved by temporary disabling source links test (it's disabled on master). #13448 |
No description provided.